//
//  HeadPageTableViewCell.m
//  carcareIOS
//
//  Created by tianxing on 16/3/17.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "HeadDetailView.h"
#import "HeadPageTableViewCell.h"

@interface HeadPageTableViewCell()

@end

@implementation HeadPageTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
       self.headDetailView = [[HeadDetailView alloc] initWithFrame:CGRectMake(0, 0, __MAIN_WIDTH,ViewHeight)];
        
       [self addSubview:self.headDetailView];
    }
    
    return self;
}
+ (CGFloat)heightForCell{
    
    return ViewHeight;
}
@end
